home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
tclMotif-1.4
/
programs
/
prog15
< prev
next >
Wrap
Text File
|
1995-06-29
|
305b
|
16 lines
# a Motif bug: getValues -command always returns an empty string
# why? I dunno
xtAppInitialize -class Program
xmCommand .command managed
.command commandEnteredCallback print_command
proc print_command {} {
.command getValues -command c
puts stdout "Command: $c"
}
. realizeWidget
. mainLoop